<%@ Import Namespace="System" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<!--#include file="includes/common.aspx"-->
<!--#include file="includes/includeitems.aspx"-->
<!--#include file="includes/getValue.aspx"-->
<script  runat="server">
Dim continue="",file=""
Dim amount=0,shipcost=0
Dim email="",name="",address=""
Dim tel="",fax="",country=""
Sub Page_Load(ByVal sender As Object, _
	ByVal e As EventArgs)
     continue ="id="  + request.querystring("id")
     continue += "&rows=" + Request.querystring("rows")
     continue += "&pages=" + request.querystring("pages")
     continue +="&page=" + request.querystring("page")
     continue += "&sort=" + request.querystring("sort")
     continue += "&from_=" + request.querystring("from_")	
     file=request.querystring("from_")
    
     if file="" then file="search.aspx"
     if session("shoppingcarts")="" then
	response.redirect("expiry.aspx?" & continue)
     else
	session("shoppingcarts")=session("shoppingcarts")
	session("shoppingcart")=session("shoppingcart")
	session("custinfo")=session("custinfo")
    End if
    amount=request.form("txtamount")
    address=request.form("txtaddress")
    name=request.form("txtname")
    email=request.form("txtemail")
    country=request.form("txtcountry")
    tel=request.form("txttel")
    fax=request.form("txtfax")
End Sub
</SCRIPT>
<HTML><HEAD><TITLE>InterShop-Online Shopping</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<META content=""  name=description>
<META content="trading software platform" name=keywords>
<META http-equiv=Pragma content=no-cache>
<LINK href="style.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript>
        	self.defaultStatus = "Online-Shopping!";          
   
</SCRIPT>
</HEAD>
<BODY bottomMargin=0 leftMargin=0 topMargin=0  rightMargin=0 marginheight="0"  marginwidth="0">
<!--#include file="top.aspx"-->
<TABLE cellSpacing=0 cellPadding=0 border=0  width="775" >
  <TBODY> 
  <TR>
    <TD vAlign=top align="center" width="160"> 
      <table width="18%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><br> 
            <table border=0 cellspacing=0 cellpadding=0>
              <tr valign=bottom align=center> 
                <td><img src="images/new-products.gif" height="19" width="155"></td>
              </tr>
              <tr valign=top align=center> 
                <td> 
                  <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                    <tr> 
                      <td width=100% height="49"> 
                        <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                          <tr> 
                            <td valign=top width=8% align="left" height="51" bgcolor="#EEEECC"> 
                              <table cellspacing=0 cellpadding=0 border=0  width="100%">
                                <tr> 
                                  <td colspan=2>&nbsp;</td>
                                </tr>
                                <tbody> 
                                <tr  align="left"> 
                                  <td colspan=2> 
                                    <input size=15  onFocus="this.value = '';" value="Keyword" name=txtKeyword class=textbox>
                                  </td>
                                </tr>
                                <tr> 
                                  <td align=left> 
                                    <select name="cbCate">
                                      <option selected>All Products</option>
                                      <option>Books</option>
                                      <option>Poems</option>
                                    </select>
                                    <img height=21 
            alt="Click here to search the Item." 
            src="images/go.gif" 
            width=21 align=absMiddle 
      border=0></td>
                                </tr>
                                </tbody> 
                              </table>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
            </table>
      </table>
	  <table width="18%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><br> 
            <table border=0 cellspacing=0 cellpadding=0>
              <tr valign=bottom align=center> 
                <td><img src="images/new-products.gif" height="19" width="155"></td>
              </tr>
              <tr valign=top align=center> 
                <td> 
                  <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                    <tr> 
                      <td width=100% > 
                        <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                          <tr> 
                            <td valign=top width=8% align="left" bgcolor="#CAE2F0"> 
                              <input size=15  onFocus="this.value = '';" value="Keyword" name=txtKeyword2 class=textbox>
                              <img height=21 
            alt="Click here to search the Item." 
            src="images/go-button.gif" 
            width=21 align=absMiddle 
      border=0> <br>
                              <img src="images/powered-by-google.gif" width="95" height="14"> 
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
            </table>
      </table>
       <table width="18%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center"><br> 
            <table border=0 cellspacing=0 cellpadding=0>
              <tr valign=bottom align=center> 
                <td><img src="images/browse-items.gif" width="155" height="19"></td>
              </tr>
              <tr valign=top align=center> 
                <td> 
                  <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                    <tr> 
                      <td width=100% height="49"> 
                        <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                          <tr> 
                            <td valign=top width=8% align="left" height="51" bgcolor="#CAE2F0">
							 <!--#include file="includes/listsubcategories.htm"-->
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
            </table>
      </table>
      <!--#include file="left.aspx"-->
    </TD>
    <TD class=margin width="1" valign="top" align="right" bgcolor="#666666" > 
    </TD>
    <TD class=text_normal id=mainContent vAlign=top width="420"> 
      <TABLE cellSpacing=4 cellPadding=4 width="100%" align=left border=0 height="61">
        <TR> 
          <TD vAlign=top align=left height="46"> 
            <!--#include file="submenu.aspx"-->
	<br><h2>Payment by Credit Card<br>
	<font color=blue>You will pay via WorldPay.com</font></h2>
	<hr size=1 color=blue>
             </TD>
        </TR>
        <TBODY> 
        <TR> 
          <TD vAlign=top align=left>
	<form action="https://select.worldpay.com/wcc/purchase" 
	method=post name=frmCard >
	<table width="100%" border="0">
                
                <tr> 
                  <td colspan="2">
	<font face="Arial" color="#000066">
	<b>Payment 
                    Information</b></font><br>
                    
                    </td>
                </tr>
                
               
	  <tr> 
                  <td valign="top" nowrap>Amount of Billing:<font color="#FF0000"> 
                    * </font></td>
                  <td><b>VND <%=amount%></b>
                  </td>
                </tr>
	 <tr> 
                  <td valign="top" nowrap>Amount of Billing:<font color="#FF0000"> 
                    * </font></td>
                  <td><b>USD <%=formatnumber(amount/15000,2)%> </b>
                  </td>
                </tr>
	<tr> 
                  <td valign="top" nowrap>Name of Billing Contact:<font color="#FF0000"> 
                    * </font></td>
                  <td><%=name%>
                  </td>
                </tr>
                <tr> 
                  <td>Email Address: <font color="#FF0000">*</font> <br> <br></td>
                  <td> <%=email%>
                  </td>
                </tr>
                <tr> 
                  <td>Billing Address: <font color="#FF0000">*</font></td>
                  <td><%=address%></td>
                </tr>
                <tr> 
                  <td>Country: <font color="#FF0000">*</font> </td>
                  <td><%=country%>
	 </td>
                </tr>
                <tr> 
                  <td>Phone: <font color="#FF0000">* </font></td>
                  <td><%=tel%></td>
                </tr>
	<% if fax<>"" then%>
	  <tr> 
                  <td>Fax: </td>
                  <td><%=fax%></td>
                </tr>
               <%end if%>
                <tr align="left"> 
                  <td colspan="2" ><br>
	<input name="Submit" type="submit" class="button" value="Purchase"> 
              <input name="Reset" type="reset" class="button" value="Reset">
	<input type=hidden name="instId" value="545454"> 
	<input type=hidden name="cartId" value="123456789">
	<input type=hidden name="amount" value="<%=formatnumber(amount/15000)%>"> 
	<input type=hidden name="currency" value="USD"> 
	<input type=hidden name="name" value="<%=name%>"> 
	<input type=hidden name="address" value="<%=address%>"> 
	<input type=hidden name="country" value="<%=country%>"> 
	<input type=hidden name="tel" value="<%=tel%>">
	<input type=hidden name="fax" value="<%=fax%>">
	<input type=hidden name="email" value="<%=email%>"> 
	<input type=hidden name="M_CardType" value="<%=amount%>"> 
	<input type=hidden name="M_Continue" value="<%=continue%>"> 
	<input type=hidden name="M_Customer" value="<%=session("custinfo")%>">
	<input type=hidden name="M_Orders" value="<%=session("shoppingcarts")%>">
	<input type=hidden name="M_NoOrders" value="<%=session("shoppingcart")%>">
	</td>
                </tr>
              </table>
</form>	

           </TD>
        </TR>
        </TBODY> 
      </TABLE>
    </TD>
    <TD class=margin width="1" valign="top" align="right" bgcolor="#666666" > 
    </TD>
    <TD class=margin valign="top" align="left" width="160"> 
      <TABLE>
        
        <tr> 
          <td>&nbsp;</td>
          <td valign=top> 
            <!--#include file="includes/right-next.htm" -->
          </td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
          <td valign="top"><br>
            <table width="18%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td align="center"> 
                  <table border=0 cellspacing=0 cellpadding=0>
                    <tr valign=bottom align=center> 
                      <td><img src="images/new-products.gif" width="155" height="19"></td>
                    </tr>
                    <tr valign=top align=center> 
                      <td> 
                        <table border=0 width=155 cellpadding=1 cellspacing=0 bgcolor=#708090 >
                          <tr> 
                            <td width=100%> 
                              <table width=100% border=0 cellpadding=4 cellspacing=0 bgcolor=#FFFFFF>
                                <tr> 
                                  <td valign=top width=8% align="left" height="52"> 
                                    <p>&nbsp;</p>
                                  </td>
                                  <td valign=top width=92% align="left" height="52"> 
                                    <!--#include file="includes/right-top.htm" -->
                                  </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                        </table>
                  </table>
            </table>
          </td>
        </tr>
        
      </TABLE>
    </TD>
  </TR></TBODY></TABLE>
  <!--#include file="bottom.aspx"-->
</BODY></HTML>
